.camera-monitor-list {
    position: absolute;
    width: 25%;
    height: calc(100% - 160px);
    top: 80px;
    left: 10px;

    .content {
        display: flex;
        flex-direction: column;
        height: 100%;

        .search-section {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px solid rgba(64, 169, 255, 0.3);
            font-size: 14px;

            .search-row {
                display: flex;
                flex-wrap: wrap;
                gap: 16px;

                .search-item {
                    display: flex;
                    align-items: center;
                    min-width: 80px;

                    label {
                        font-size: 14px;
                        color: #fff;
                        white-space: nowrap;
                    }

                    input,
                    select {
                        flex: 1;
                        padding: 4px 8px;
                        border: 1px solid #3382c3;
                        border-radius: 2px;
                        font-size: 14px;

                        outline: none;
                        transition: border-color 0.3s;
                    }

                    input {
                        width: 120px;
                        color: #fff;
                        background-color: rgba(64, 169, 255, 0.1);

                        &::placeholder {
                            color: #898787;
                        }
                    }
                }
            }

            .search-actions {
                display: flex;
                justify-content: flex-end;
                gap: 8px;

                .search-btn,
                .reset-btn {
                    height: 26px;
                    width: 60px;
                    padding: 8px 8px;
                    border: none;
                    border-radius: 2px;
                    font-size: 14px;
                    cursor: pointer;
                    outline: none;
                    box-shadow: none;

                }

                .search-btn {
                    background: #1890ff;
                    color: #fff;

                    &:hover {
                        background: #40a9ff;
                    }
                }

                .reset-btn {
                    background: #fff;
                    border: 1px solid #d9d9d9;
                    color: #333;

                    &:hover {
                        color: #1890ff;
                        border-color: #1890ff;
                    }
                }
            }
        }

        .list-container {
            display: flex;
            flex: 1;
            flex-direction: column;
            overflow: auto;

            .camera-list {
                flex: 1;
                overflow-y: auto;
                padding: 0;

                .camera-item {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    padding: 12px 16px;
                    // background: #fff;
                    border-bottom: 1px solid rgba(64, 169, 255, 0.3);
                    cursor: pointer;
                    transition: all 0.3s;

                    &:hover {
                        background: rgba(64, 169, 255, 0.3);
                    }

                    &.coastal-defense {
                        border-left: 3px solid #1890ff;
                    }

                    .camera-info {
                        flex: 1;

                        .camera-name {
                            font-size: 14px;
                            // color: #333;
                            margin-bottom: 4px;
                        }

                        .camera-details {
                            display: flex;
                            align-items: center;
                            gap: 12px;
                            font-size: 12px;
                            color: #666;

                            .camera-number {
                                color: #999;
                            }

                            .status {
                                padding: 2px 6px;
                                border-radius: 2px;
                                font-size: 11px;

                                &.status-online {
                                    background: #f6ffed;
                                    color: #52c41a;
                                    border: 1px solid #b7eb8f;
                                }

                                &.status-offline {
                                    background: #fff2f0;
                                    color: #ff4d4f;
                                    border: 1px solid #ffccc7;
                                }

                                &.status-malfunction {
                                    background: #fff7e6;
                                    color: #fa8c16;
                                    border: 1px solid #ffd591;
                                }
                            }
                        }
                    }

                    .operator {
                        .preview {
                            display: flex;
                            align-items: center;
                            cursor: pointer;
                            color: @primary-color;
                        }
                    }
                }

                &::-webkit-scrollbar {
                    width: @scrollbar-width;
                    height: @scrollbar-width;
                }

                &::-webkit-scrollbar-track {
                    background-color: @scrollbar-track-color;
                    border-radius: @scrollbar-border-radius;
                }

                &::-webkit-scrollbar-thumb {
                    background-color: @scrollbar-thumb-color;
                    border-radius: @scrollbar-border-radius;

                    &:hover {
                        background-color: @scrollbar-thumb-hover-color;
                    }
                }
            }
        }

        .list-footer {
            display: flex;
            justify-content: center;
            border-top: 1px solid rgba(64, 169, 255, 0.3);

            .ant-pagination {
                font-size: 11px;
                color: white;
            }

            .ant-pagination .ant-pagination-prev button {
                color: white;
            }

            .ant-pagination .ant-pagination-next button {
                color: white;
            }
        }
    }
}